package com.vhall.component.entity.rbac.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author xianglei
 * @date 2021/4/27 18:13
 */

@Data
public class RoleAdminEditReqVO implements Serializable {

    private static final long serialVersionUID = 7425463143036279639L;
    @NotNull(message = "参数异常")
    @ParamName("role_id")
    private Integer roleId;

    @NotBlank(message = "参数异常")
    private String name;

    private String desc;

    @NotBlank(message = "不能为空")
    private String token;
}
